import request from '@/utils/request'
export const getFloorAPI = (params) => request.get('/park/building', { params })

export const addFloorAPI = (data) => request.post('/park/building', data)

// 修改
export const getdateFloorAPI = (id) => request.get(`/park/building/${id}`)
export const updateFloorAPI = (data) => request.put('/park/building', data)
// 删除
export const deleteFloorAPI = (id) => request.delete(`/park/building/${id}`)
